<?php
set_include_path(get_include_path() . PATH_SEPARATOR . '../src');

require_once 'Gorilla/Pdf.php';
require_once 'Zend/Pdf/Font.php';

$pdf = new Gorilla_Pdf();
$pdf->setPageSize(Zend_Pdf_Page::SIZE_LETTER)
    ->setFont(Zend_Pdf_Font::FONT_COURIER, 24)
    ->newPage()
    ->newPage();

header('Content-type: application/pdf');
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header('Content-Disposition: filename=invoice.pdf');
echo $pdf->render();
?>
